#include<iostream>

using namespace std;
#define SIZE 40
#include"Sort.h"
int main()
{
	srand((unsigned)time(NULL));
	int arr[SIZE] = {};
	for (int i = 0; i < SIZE; i++)
	{
		arr[i] = rand() % 100;
	}
	//MergeSortNonR(arr,SIZE);
	//MergeSort(arr, SIZE);
	CountSort(arr, SIZE);
	for (int i = 0; i < SIZE; i++)
	{
		printf("%d ",arr[i]);
	}
	return 0;
}

